package com.llseven.ai.spring.llseven.entity;

/**
 * @author ywb
 * @date 2025-04-21 20:25
 */
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Task {
    private Integer id;
    private String taskId;
    private String content;
    private String baseUrl;
    private String resultUrl;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    
    public Task(Integer id, String taskId, String content, String baseUrl, String resultUrl, LocalDateTime createdAt, LocalDateTime updatedAt) {
        this.id = id;
        this.taskId = taskId;
        this.content = content;
        this.baseUrl = baseUrl;
        this.resultUrl = resultUrl;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }
    
    public Task() {
    }
    
    public Task(String taskId, String content, String baseUrl) {
        this.taskId = taskId;
        this.content = content;
        this.baseUrl = baseUrl;
    }
    
    public Task(String taskId, String baseUrl) {
        this.taskId = taskId;
        this.baseUrl = baseUrl;
    }
    
    
    
    // Getters and setters...
}

